package com.smartcommunity.dao.excel;

import com.smartcommunity.bean.entity.Camera;
import com.smartcommunity.controller.excel.model.*;
import com.smartcommunity.entity.people.People;
import com.smartcommunity.entity.people.RealPower;
import com.smartcommunity.entity.system.Organization;
import com.smartcommunity.entity.village.OrganizationVillage;
import com.smartcommunity.entity.village.RealCompanyPeople;
import com.smartcommunity.entity.ac.AccessDevice;
import com.smartcommunity.entity.vehicle.Vehicle;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface ExcelExportDao {

    public List<Vehicle> listVehicle(@Param("model") VehicleModel model);

    public List<RealCompanyPeople> listCompanyPeople(@Param("model") CompanyPersonModel model);

    public List<AccessDevice> listAccessDevice(@Param("model") BaseModel model);

    public List<Camera> listCameras(@Param("model") BaseModel model);

    public List<RealPower> listRealPower(@Param("model") PowerModel model);

    public List<OrganizationVillage> listVillageOrg(@Param("model") BaseModel model);

    public List<Organization> listOrg(@Param("model") BaseModel model);

    public List<Camera> listCamera(@Param("deviceSearchModel") DeviceSearchModel model);

    public List<AccessDevice> listDevice(@Param("deviceSearchModel") DeviceSearchModel model);

    public List<People> listPeoples(People people);
}
